import i18n from '@src/locales';

export const materialFields = [
  {
    id: 1,
    displayName: i18n.t('product.materialFields.property.displayName'),
    fieldName: "property",
    setting: {
      dataSource: [
        '整机',
        '备件',
      ],
      originalFormType: "property"
    }
  },
  {
    id: 2,
    displayName: i18n.t('product.materialFields.sn.displayName'),
    fieldName: "sn",
    setting: {
      originalFormType: "text"
    }
  },
  {
    id: 3,
    displayName: i18n.t('product.materialFields.name.displayName'),
    fieldName: "name",
    setting: {
      originalFormType: "text"
    }
  },
  {
    id: 4,
    displayName: i18n.t('product.materialFields.num.displayName'),
    fieldName: "num",
    setting: {
      originalFormType: "text"
    }
  },
]